package cn.itsource.common;

import cn.itsource.util.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@FeignClient(value = "COMMON-SERVICE",fallbackFactory = RedisFallBackFactory.class)
public interface StaticPageClient {

    @PostMapping("/geneStaticPage")
    public AjaxResult geneStaticPage(@RequestBody Map<String,Object> map);

}
